package org.cogate.thrift.server.serviceImpl;

import org.apache.thrift.TException;
import org.springframework.stereotype.Component;

import com.cupdata.thrift.zicon.interfaces.*;
import com.cupdata.zicon.annotation.ThriftController;

@ThriftController("helloService")
public class HelloServiceImpl implements HelloService.Iface{



    public String sayHello() throws TException {
        return "sayHello,server1";
    }

    public String sayName(String name) throws TException {
        return "sayName,server1," + name;
    }
}
